package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyComment;
import cn.wolfcode.trip.base.domain.StrategyReplyUserComment;
import cn.wolfcode.trip.base.domain.StrategyUserComment;
import cn.wolfcode.trip.base.query.StrategyUserCommentQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyUserCommentService {
    PageInfo<StrategyUserComment> selectByStrategyCommentId(StrategyUserCommentQuery qo);

    /**lituan
     * 保存用户评论
     * @param userComment
     */
    void saveUserComment(StrategyUserComment userComment);

    void saveReplyUserComment(StrategyReplyUserComment replyUserComment);

    int selectTotalCountForUnreadComment();

    List<StrategyComment> selectComment();

    void updateRead(Long strategyCommentId);

    List<Long> selectIdsByStrategyCommentId(Long strategyCommentId);
}
